package com.my.drools.entity;

/**
 * @Description
 * @Author maye
 * @Date 2019/7/18
 * @Version V1.0.0
 */
public class Account {
    private long accountNo;

    private double balance;

    public Account() {
    }

    public Account(long accountNo, double balance) {
        this.accountNo = accountNo;
        this.balance = balance;
    }

    public long getAccountNo() {
        return accountNo;
    }

    public void setAccountNo(long accountNo) {
        this.accountNo = accountNo;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    @Override
    public String toString() {
        return "Account{" +
                "accountNo=" + accountNo +
                ", balance=" + balance +
                '}';
    }
}
